package com.watering.plan;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.Toast;

public class PlantNotification extends Activity{
	Toast ts;
	
	@Override
	  public void onCreate(Bundle savedInstanceState) 
	 {
	     super.onCreate(savedInstanceState);
	     setContentView(R.layout.plantnot);   
	     
	     ts =  Toast.makeText(this, R.string.hello, Toast.LENGTH_SHORT);
         ts.setDuration(Toast.LENGTH_LONG);
         
	     ImageView img = (ImageView)findViewById(R.id.helpbutton);
         img.setOnClickListener(new OnClickListener() {
	         public void onClick(View v) {
	        	ts.show();
	         }
	     });
         
    //     ImageView img2 = (ImageView)findViewById(R.id.helpbutton);
         
	 }
}
